DISCUSSION
The
ATSUCopyLineControls function copies all the text layout attribute values from a line in a text layout object. This includes previously set attributes as well as unset ones, which ATSUI sets to the default values listed in
Table C-2. If you wish to copy the text layout attribute values of an entire text layout object to another text layout object, see the function
ATSUCopyLayoutControls.
ATSUCopyLineControls does not copy the contents of memory referenced by pointers or handles within reference constants. You are responsible for ensuring that this memory remains valid until the source text layout object is disposed of.